<p:document xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:p="http://jboss.com/products/seam/pdf"
	pageSize="A4" disposition="attachment" margins="14.17 14.17 14.17 14.17"
	>
	<p:paragraph>
<p:font id="test" size="14">
<p:paragraph spacingAfter="50">UNIVERSIDAD CENTRAL DEL ECUADOR</p:paragraph>
 </p:font>
 <p:font id="test" size="12">
<p:text value="#{listadoDeClases.nombreDepartamento}" />
  </p:font>
  <p:font id="test" size="11">
BODEGA:<p:text value="#{listadoDeClases.bodega}" />  
ENCARGADO:<p:text value="#{listadoDeClases.encargadoDeBodega}">
</p:text>
  </p:font>
        
	<p:font id="test" size="11"><p:paragraph spacingAfter="50">
		Reporte de Egreso Nro:#{listadoDeClases.invEgreso.egrCodigo}
		</p:paragraph>
	</p:font>
	<p:font id="test1" size="8"  >
	   <p:paragraph>Destino: #{listadoDeClases.manualDestino}</p:paragraph>
	<p:paragraph>Observacion: #{listadoDeClases.invEgreso.egrObservacion}</p:paragraph>
	<p:paragraph>Fecha: #{listadoDeClases.invEgreso.egrFecha}</p:paragraph>
	<p:paragraph>Detalle:  </p:paragraph>
    <p:table columns="5" headerRows="1" widths="15 70 20 20 20" widthPercentage="100">
        <p:cell>
            <p:paragraph alignment="center">Nro #</p:paragraph>
        </p:cell>
        <p:cell>
            <p:paragraph alignment="center">Items</p:paragraph>
        </p:cell>
        <p:cell>
            <p:paragraph>Cantidad</p:paragraph>
        </p:cell>
        <p:cell>
            <p:paragraph>Precio Unitario</p:paragraph>
        </p:cell>
        <p:cell>
            <p:paragraph>Total</p:paragraph>
        </p:cell>
        <ui:repeat value="#{listadoDeClases.detallePorNumeroDeEgreso}"
            var="data">
            <p:cell size="12">
                <p:paragraph>#{data.numero}</p:paragraph>
            </p:cell>
            <p:cell size="5" fixedHeight="17">
                <p:paragraph>#{data.items}</p:paragraph>
            </p:cell>
            <p:cell size="5" fixedHeight="17">
                <p:paragraph>#{data.cantidad}</p:paragraph>
            </p:cell>
            <p:cell size="5" fixedHeight="17">
                <p:paragraph>#{data.precio}</p:paragraph>
            </p:cell>
            <p:cell size="5" fixedHeight="17">
                <p:paragraph>#{data.total}</p:paragraph>
            </p:cell>
        </ui:repeat>
    </p:table>
    </p:font>
    </p:paragraph>
</p:document>